package com.example.boot.derived.impl;

import com.example.boot.derived.AtomVariableRepository;

import java.util.Optional;

public class JdbcAtomRepository  implements AtomVariableRepository {
    @Override
    public Optional<Double> getValue(String variableId) {
        // 实际数据库查询逻辑
        return Optional.of(0.0);
    }

    @Override
    public boolean exists(String variableId) {
        return false;
    }
}